#include <iostream>
#include "Human.h"

using namespace std;

void tst_eating(Human *h) {
    h->eating();
}

int main() {
    Human& e = CreateEnglish((char *)"zhiangsan", 10);
    Human& c = CreateChinese();

    Human* h[2] = {&e, &c};
    int i;
    for (int i = 0; i < 2; ++i) {
        tst_eating(h[i]);
    }

    delete &e;
    delete &c;

    return 0;
}
